<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<jsp:useBean id="inhoud" scope="application" class="models.Bean" />   
<jsp:setProperty name="inhoud" property="language" value="<%= models.Bean.getLanguage()%>" />

<div id="left">
    <div id="profile"><h1>
            <jsp:setProperty name="inhoud" property="key" value="Welcome" />
            <jsp:getProperty name="inhoud" property="key" />, ${name}</h1>
            
            <a href="tutor.jsp">
                <jsp:setProperty name="inhoud" property="key" value="EditProfile" />
                <jsp:getProperty name="inhoud" property="key" /> 
            </a>|
            <a href="/logout">
            <jsp:setProperty name="inhoud" property="key" value="LogOut" />
            <jsp:getProperty name="inhoud" property="key" /></a>
    </div>
    <ul id="adminMenu">

        <li class="blue"><a href="/index">
                <jsp:setProperty name="inhoud" property="key" value="BackToHomepage" />
                <jsp:getProperty name="inhoud" property="key" /></a></li>

        <c:if test = "${admin == 'true'}">
            <li class="lightBlue"><a href="/admin" >
                    <jsp:setProperty name="inhoud" property="key" value="SwitchAdminItems" />
                    <jsp:getProperty name="inhoud" property="key" />
                </a></li>
            </c:if>


    </ul>
    <ul id="menu">
        <li>
            <a class="blue" href="/files">
                <div class="menuImg">
                    <img src="style/icons/files.png"/>
                </div>
                <h3>
                    <jsp:setProperty name="inhoud" property="key" value="Files" />
                    <jsp:getProperty name="inhoud" property="key" />  
                </h3>
                <p>
                    <jsp:setProperty name="inhoud" property="key" value="ViewUploadFilesToCourse" />
                    <jsp:getProperty name="inhoud" property="key" />
                </p>
            </a>
        </li>
        <li >
            <a class="lightBlue" href="/agendaManager.jsp">
                <div class="menuImg" style="margin-top:2px;">
                    <img src="style/icons/agenda.png"/>
                </div>
                <h3>Agenda</h3>
                <p>
                    <jsp:setProperty name="inhoud" property="key" value="GetAgendaOfCourse" />
                    <jsp:getProperty name="inhoud" property="key" />
                </p>
            </a>
        </li>

        <li >
            <a class="blue" href="/tutorlivestream">
                <div class="menuImg">
                    <img src="style/icons/digitalclass.png"/>
                </div>
                <h3>
                    <jsp:setProperty name="inhoud" property="key" value="Digital" />
                    <jsp:getProperty name="inhoud" property="key" /></br>
                    <jsp:setProperty name="inhoud" property="key" value="Class" />
                    <jsp:getProperty name="inhoud" property="key" />
                </h3>
                <p>
                    <jsp:setProperty name="inhoud" property="key" value="StartDigitalClass" />
                    <jsp:getProperty name="inhoud" property="key" />
                </p>
            </a>
        </li>
        <li >
            <a class="lightBlue" href="tutorprogresstest.jsp">
                <div class="menuImg">
                    <img src="style/icons/progresstest.png"/>                                    
                </div>
                <h3>
                    <jsp:setProperty name="inhoud" property="key" value="ProgressTest" />
                    <jsp:getProperty name="inhoud" property="key" />
                </h3>
                <p>
                    <jsp:setProperty name="inhoud" property="key" value="ParticipateProgressTest" />
                    <jsp:getProperty name="inhoud" property="key" />
                </p>
            </a>
        </li>
        <li >
            <a class="blue" href="/forum">
                <div class="menuImg">
                    <img src="style/icons/forum.png"/>
                </div>
                <h3>
                    Forum
                </h3>
                <p>
                    <jsp:setProperty name="inhoud" property="key" value="GoToForum" />
                    <jsp:getProperty name="inhoud" property="key" />
                </p>
            </a>
        </li>

    </ul>
</div>
